package behavioral.template;

/**
 * @Description: 模板模式测试
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public class TemplateTest {
    public static void main(String[] args) {
        ActTemplate testDepartmentAct = new TestDepartmentAct("测试部门");
        testDepartmentAct.act();

        ActTemplate projectDepartmentAct = new ProjectDepartmentAct("项目部门");
        projectDepartmentAct.act();
    }
}
